Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

internal: remove obsolete rsemWarnUnsafeCode #930

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

bung87
Copy link
Contributor

@bung87 bung87 commented Sep 28, 2023

Summary

Remove the unused cstringCheck procedure, together with the
rsemWarnUnsafeCode warning.

Details

The warning was only produced by the cstringCheck procedure, to which
the only call was disabled. Checking for unsafe cstring conversions is
already performed in sempass2.track, so the unused cstringCheck can
be safely removed.

@zerbina
Copy link
Collaborator

zerbina commented Sep 28, 2023

The removal is good, thanks.

Could you shorten the PR title and clean up the PR message a bit?

@zerbina zerbina added compiler General compiler tag simplification Removal of the old, unused, unnecessary or un/under-specified language features. labels Sep 28, 2023
@bung87 bung87 changed the title remove obsolete rsemWarnUnsafeCode, proc cstringCheck remove obsolete rsemWarnUnsafeCode Sep 28, 2023
@zerbina zerbina changed the title remove obsolete rsemWarnUnsafeCode internal: remove obsolete rsemWarnUnsafeCode Sep 29, 2023
@zerbina
Copy link
Collaborator

zerbina commented Sep 29, 2023

I've made a small change to the title, and also restructured/extended the PR body a bit.

@zerbina
Copy link
Collaborator

zerbina commented Sep 29, 2023

/merge

@github-actions
Copy link

Merge requested by: @zerbina

Contents after the first section break of the PR description has been removed and preserved below:


Notes for Reviewers

@chore-runner chore-runner bot added this pull request to the merge queue Sep 29, 2023
Merged via the queue into nim-works:devel with commit 0ed6bbf Sep 29, 2023
18 checks passed
@bung87 bung87 deleted the remove-obsolete-code branch September 30, 2023 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler General compiler tag simplification Removal of the old, unused, unnecessary or un/under-specified language features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants